package cn.iocoder.yudao.module.form.dataobject;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * 设备采购对象 cugb_equipment
 *
 * @author cugb
 * @date 2022-08-26
 */
public class CugbEquipment extends FormBaseVo
{
    private static final long serialVersionUID = 1L;

    /** 设备采购ID */
    private Long equId;

    /** 设备采购申请人id */
    private Long equUserid;

    /** 设备采购申请人姓名 */
    private String equUsername;

    /** 设备采购名称 */
    private String equName;

    /** 设备采购部门id */
    private String equDeptid;

    /** 设备采购部门 */
    private String equDept;

    /** 设备采购种类 */
    private String equType;

    /** 设备采购型号 */
    private String equModule;

    /** 设备采购价格 */
    private Long equPrice;

    /** 设备采购日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date equDate;

    /** 设备采购数量 */
    private Long equCount;

    /** 设备采购原因 */
    private String equReason;

    /** 动态表单标记位 */
    private Long mark;

    /** 创建者 */
    private String creator;

    /** 更新者 */
    private String updater;

    /** 是否删除 */
    private Integer deleted;

    /** 经费来源 */
    private String equMoneyfrom;

    /** 设备类型 */
    private List<String> type;

    /** 经费来源2 */
    private List<String> moneyfrom;

    public void setEquId(Long equId)
    {
        this.equId = equId;
    }

    public Long getEquId()
    {
        return equId;
    }
    public void setEquUserid(Long equUserid)
    {
        this.equUserid = equUserid;
    }

    public Long getEquUserid()
    {
        return equUserid;
    }
    public void setEquUsername(String equUsername)
    {
        this.equUsername = equUsername;
    }

    public String getEquUsername()
    {
        return equUsername;
    }
    public void setEquName(String equName)
    {
        this.equName = equName;
    }

    public String getEquName()
    {
        return equName;
    }
    public void setEquDeptid(String equDeptid)
    {
        this.equDeptid = equDeptid;
    }

    public String getEquDeptid()
    {
        return equDeptid;
    }
    public void setEquDept(String equDept)
    {
        this.equDept = equDept;
    }

    public String getEquDept()
    {
        return equDept;
    }
    public void setEquType(String equType)
    {
        this.equType = equType;
    }

    public String getEquType()
    {
        return equType;
    }
    public void setEquModule(String equModule)
    {
        this.equModule = equModule;
    }

    public String getEquModule()
    {
        return equModule;
    }
    public void setEquPrice(Long equPrice)
    {
        this.equPrice = equPrice;
    }

    public Long getEquPrice()
    {
        return equPrice;
    }
    public void setEquDate(Date equDate)
    {
        this.equDate = equDate;
    }

    public Date getEquDate()
    {
        return equDate;
    }
    public void setEquCount(Long equCount)
    {
        this.equCount = equCount;
    }

    public Long getEquCount()
    {
        return equCount;
    }
    public void setEquReason(String equReason)
    {
        this.equReason = equReason;
    }

    public String getEquReason()
    {
        return equReason;
    }
    public void setMark(Long mark)
    {
        this.mark = mark;
    }

    public Long getMark()
    {
        return mark;
    }
    public void setCreator(String creator)
    {
        this.creator = creator;
    }

    public String getCreator()
    {
        return creator;
    }
    public void setUpdater(String updater)
    {
        this.updater = updater;
    }

    public String getUpdater()
    {
        return updater;
    }
    public void setDeleted(Integer deleted)
    {
        this.deleted = deleted;
    }

    public Integer getDeleted()
    {
        return deleted;
    }

    public String getEquMoneyfrom() {
        return equMoneyfrom;
    }

    public void setEquMoneyfrom(String equMoneyfrom) {
        this.equMoneyfrom = equMoneyfrom;
    }

    public List<String> getType() {
        return type;
    }

    public void setType(List<String> type) {
        this.type = type;
    }

    public List<String> getMoneyfrom() {
        return moneyfrom;
    }

    public void setMoneyfrom(List<String> moneyfrom) {
        this.moneyfrom = moneyfrom;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("equId", getEquId())
            .append("equUserid", getEquUserid())
            .append("equUsername", getEquUsername())
            .append("equName", getEquName())
            .append("equDeptid", getEquDeptid())
            .append("equDept", getEquDept())
            .append("equType", getEquType())
            .append("equModule", getEquModule())
            .append("equPrice", getEquPrice())
            .append("equDate", getEquDate())
            .append("equCount", getEquCount())
            .append("equReason", getEquReason())
            .append("mark", getMark())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .append("remark", getRemark())
            .append("equMoneyfrom", getEquMoneyfrom())
            .toString();
    }
}
